package com.hnao.serialport

/**
 * @Author caow
 * 2025/2/19
 */
object SerialPortCallbackListener {

    var listener: ((String) -> Unit)? = null
        private set

    fun setListener(listener: ((String) -> Unit)?) {
        this.listener = listener
    }
}